import Vue from 'vue';
import Router from 'vue-router';
import food from '../components/food/food';
import '../common/stylus/index.styl';
import orderList from '../components/orderlist/orderlist';

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/food'
    },
    {
      path: '/food',
      component: food
    },
    {
      path: '/orderlist',
      component: orderList
    }
  ]
});
